package com.cl.unipay4j.wx.splitbill;

import com.cl.unipay4j.core.IBaseEnum;

/**
 * 分账接收方关系类型
 *
 * @author siashan
 * @since V1.0.1
 **/
public enum WxReceiverRelationType implements IBaseEnum<String> {
    /**
     * 服务商
     */
    SERVICE_PROVIDER("SERVICE_PROVIDER", "服务商"),
    /**
     * 门店
     */
    STORE("STORE", "门店"),
    /**
     * 员工
     */
    STAFF("STAFF", "员工"),
    /**
     * 店主
     */
    STORE_OWNER("STORE_OWNER", "店主"),
    /**
     * 合作伙伴
     */
    PARTNER("PARTNER", "合作伙伴"),
    /**
     * 总部
     */
    HEADQUARTER("HEADQUARTER", "总部"),
    /**
     * 品牌方
     */
    BRAND("BRAND", "品牌方"),
    /**
     * 分销商
     */
    DISTRIBUTOR("DISTRIBUTOR", "分销商"),
    /**
     * 用户
     */
    USER("USER", "用户"),
    /**
     * 供应商
     */
    SUPPLIER("SUPPLIER", "供应商"),
    /**
     * 自定义
     */
    CUSTOM("CUSTOM", "自定义"),
    ;
    private String value;
    private String desp;

    WxReceiverRelationType(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
